#include "app_mqtt.h"

void mqtt_arrive_cb(char *data, int dataLen)
{
    log_info("mqtt_arrive_cb: %s", data);
}

int main(int argc, char const *argv[])
{
    app_mqtt_init(mqtt_arrive_cb);

    while (1)
    {
        app_mqtt_send("hello world");
        sleep(2);
    }
    
    return 0;
}

/*
"${workspaceFolder}/thirdparty",
"${workspaceFolder}/app",
"${workspaceFolder}/daemon",
"${workspaceFolder}/ota"
*/
